package com.echo.im.common.vo.message;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;


import java.util.Date;

/**
 *
 * @author lxy
 * @date 2024-08-14
 */
@Builder
@Data
@Schema(description = "系统消息VO")
public class SystemMessageVO extends MessageVo{

    @Schema(description = " 接受者ID")
    private Long recvId;

    @Schema(description = " 消息id")
    private Long id;

    @Schema(description = " 发送内容")
    private String content;

    @Schema(description = "消息内容类型 MessageType")
    private Integer type;

    @Schema(description = " 发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;
}
